const path = require('path');

const DIST = path.join(__dirname, '../../../public/test/laravel-echo/dist/');

/**
 * @link webpack4.0参照文档https://mp.weixin.qq.com/s/bkV8XscUWjxUWjXeVk-8Ng；以及官方文档
 */
const webpackConfig = {
  mode: "development",
  entry: {
    main: './src/main.js',
  },
  output: {
    path: DIST,
  },
  module: {
    rules: [],
  }
};

module.exports = webpackConfig;
